package com.cloud.pole.shop.model.entity.goods;

import java.io.Serializable;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author 
 */
@Table(name="shop_goods_value")
public class ShopGoodsValue implements Serializable {
    /**
     * 物品属性自增id
     */
    @Id
    private Integer goodsValues;

    /**
     * 所对应的属性值ID
     */
    @NotEmpty
    private Integer modelAtteValueId;

    /**
     * 所对应的商品ID
     */
    @NotEmpty
    private Integer goodsId;

    /**
     * 所对饮的属性ID
     */
    @NotEmpty
    private Integer modelAttrId;

    private static final long serialVersionUID = 1L;

    public Integer getGoodsValues() {
        return goodsValues;
    }

    public void setGoodsValues(Integer goodsValues) {
        this.goodsValues = goodsValues;
    }

    public Integer getModelAtteValueId() {
        return modelAtteValueId;
    }

    public void setModelAtteValueId(Integer modelAtteValueId) {
        this.modelAtteValueId = modelAtteValueId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getModelAttrId() {
        return modelAttrId;
    }

    public void setModelAttrId(Integer modelAttrId) {
        this.modelAttrId = modelAttrId;
    }
}